package com.example.demo.config;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

/**
 * 接口返回通用Bean
 *
 * @author BleethNie
 * @version 1.0
 * @date 2020-01-10 18:12
 **/
@Setter
@Getter
@Builder
public class ResponseBean {

    /**
     *  返回状态码
     */
    private Integer status;

    /**
     *  返回信息
     */
    private String message;

    /**
     * 返回的数据
     */
    private Object data;
 
    public ResponseBean(int status, String message, Object data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }
}